/**
 * 
 */
package com.zhiteng.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**  
* <p>Title: Parent.java</p>  
* <p>Description:家长 </p>  
* @author dragon  
* @date 2018年12月18日  
* @version 1.0  
*/
@Table(name="tb_parent")
public class Parent implements Serializable{
	@Id
	private String userid;	//	家长id
	private String childid;	//	学生id
	private String parentrole;	//	家长身份
	private String name;	//	家长姓名
	private String cellphone;	//	家长电话
	private String departid;	//	学生组织架构ID
	private Integer isSubscribe;	//	是否关注（0-未关注；1-已关注）
	
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public String getChildid() {
		return childid;
	}
	public void setChildid(String childid) {
		this.childid = childid;
	}
	public String getParentrole() {
		return parentrole;
	}
	public void setParentrole(String parentrole) {
		this.parentrole = parentrole;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCellphone() {
		return cellphone;
	}
	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}
	public String getDepartid() {
		return departid;
	}
	public void setDepartid(String departid) {
		this.departid = departid;
	}
	public Integer getIsSubscribe() {
		return isSubscribe;
	}
	public void setIsSubscribe(Integer isSubscribe) {
		this.isSubscribe = isSubscribe;
	}
	
}
